class RequestTypeError(Exception):
    """
    视图函数传入参数类型错误
    """
    def __init__(self, error):
        self.error = error

    def __str__(self):
        return f"类型错误原因：{self.error}"
